package com.xx.jicheng.service;

import java.util.List;

import com.google.common.collect.BiMap;
import com.xx.jicheng.entity.Category;

public interface CategoryService {

	List<Category> findAll();
	
	/**
	 * 根据类别名查找类别的独有属性，三级类别表中含有数据，二级类别需要合并
	 * 类别名中有几条数据名字有重复：但他们的属性是一致的
	 * 010602 42英寸                                            ["单元亮度","双边物理拼缝","物理分辨率","对比度","面板品牌"]
	   070610 电源时序器                                        ["电源滤波功能","控制接口","电源插座输出总容量","通道数量","每通道负载","尺寸","耗电","动作间隔时间","每个插座最大输出","定时器控制
   	   010701 42英寸                                            ["单元亮度","双边物理拼缝","物理分辨率","对比度","面板品牌"]
	   080802 电源时序器                                        ["电源滤波功能","控制接口","电源插座输出总容量","通道数量","每通道负载","尺寸","耗电","动作间隔时间","每个插座最大输出","定时器控制
 
	 * @param cid
	 * @return
	 */
	BiMap<String, String> findAttrs(String cname);

}
